package com.bdqn.pojo;

/**
 * News 新闻
 *
 * @author LILIBO
 * @since 2024/7/4
 */
public class News {

    private String title;
    private String content;

    public News() {
        this.title = "title";
        this.content = "content";
    }

    public News(String title, String content) {
        this.title = title;
        this.content = content;
    }

    @Override
    public String toString() {
        return "News{" +
                "title='" + title + '\'' +
                ", content='" + content + '\'' +
                '}';
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

}
